//
//  UIView+LXExpanding.h
//  TestDemo
//
//  Created by xiao.zhao@lachesis-mh.com on 16/2/18.
//  Copyright © 2016年 xiao.zhao@lachesis-mh.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MBProgressHUD.h>
#import "LXMessageView.h"
#import "LXHubAlertView.h"
#import "LXLoadingView.h"
#import "LXCircleLoadingView.h"

@interface UIView (LXExpanding) <LXBaseMessageViewDelegate>

@property (nonatomic, assign) CGPoint lx_origin;
@property (nonatomic, assign) CGFloat lx_originX;
@property (nonatomic, assign) CGFloat lx_originY;
@property (nonatomic, assign) CGSize lx_size;
@property (nonatomic, assign) CGFloat lx_width;
@property (nonatomic, assign) CGFloat lx_height;
@property (nonatomic, assign) CGFloat lx_top;
@property (nonatomic, assign) CGFloat lx_bottom;
@property (nonatomic, assign) CGFloat lx_left;
@property (nonatomic, assign) CGFloat lx_right;

@property (nonatomic, assign) CGFloat lx_centerX;
@property (nonatomic, assign) CGFloat lx_centerY;
@property (nonatomic, readonly) CGPoint lx_middlePoint;
@property (nonatomic, readonly) CGFloat lx_middleX;
@property (nonatomic, readonly) CGFloat lx_middleY;
@property (nonatomic, readonly) CGFloat lx_maxX;
@property (nonatomic, readonly) CGFloat lx_maxY;
@property (nonatomic, assign) CGFloat lx_y;
@property (nonatomic, assign) CGFloat lx_x;

@property (nonatomic) CGFloat  scale;
@property (nonatomic) CGFloat  angle;

-(void)showHudWithText:(NSString *)text;
-(void)showHudWithText:(NSString *)text hideDelay:(NSTimeInterval)delay;
-(void)changeHudWithText:(NSString *)text;
-(void)hideHud;
-(void)showWarnMessage:(NSString *)message;
-(void)showWarnAlertObject:(NSString *)title buttonArray:(NSArray *)buttonArrays withDelegate:(id <LXBaseMessageViewDelegate>)delegate;
@end
